/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Bean;

import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import javax.faces.context.ExternalContext;
import javax.faces.context.FacesContext;
import javax.servlet.http.HttpSession;

/**
 *
 * @author Cyrax
 */
@ManagedBean
@RequestScoped
public class ProcessDoLogin {

    /** Creates a new instance of ProcessDoLogin */
    public ProcessDoLogin() {
    }

    @PostConstruct
    public void init() {
        ExternalContext extcontext = FacesContext.getCurrentInstance().getExternalContext();
        try {

            FacesContext context = FacesContext.getCurrentInstance();

            extcontext.redirect("LoginAdmin.xhtml");






        } catch (Exception ex) {
        }
    }
}
